package com.xkcyy.one.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xkcyy.one.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 用户Mapper接口
 *
 * @author AI Assistant
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    
    @Select("SELECT * FROM user WHERE token = #{token}")
    User selectByToken(String token);
}
